﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace Sino.CapacityCloud.Repositories.Models
{

    public class AccidentPicture
    {

        [Key()]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public string AccidentPictureId { get; set; }

        public string CostId { get; set; }

        public string AccidentPictureKey { get; set; }

        public virtual Cost Cost { get; set; }

        public AccidentPicture()
        {
            this.AccidentPictureId = Guid.NewGuid().ToString();
        }

    }

}